package com.itheima.consumer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 余智辉
 * @since 2024-06-22
 */
@TableName("system_message")
//@ApiModel(value = "Message对象", description = "")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    //@ApiModelProperty("主键")
    private Long id;

    //@ApiModelProperty("消息ID")
    private Integer messageId;

    //@ApiModelProperty("消息类型")
    private String messageType;

    //@ApiModelProperty("消息内容")
    private byte[] messageContent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public byte[] getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(byte[] messageContent) {
        this.messageContent = messageContent;
    }

    @Override
    public String toString() {
        return "Message{" +
            "id = " + id +
            ", messageId = " + messageId +
            ", messageType = " + messageType +
            ", messageContent = " + messageContent +
        "}";
    }
}
